package demo3;

public class Equals {
    public static void main(String[] args) {
        Student student = new Student("取消用");
        Student student1 = new Student("取消用");
        student = student1;
        System.out.println(student.equals(student1));

    }
}
